package com.zmzncs.lmtc.module.customer.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zmzncs.lmtc.module.customer.pojo.card_park.CardPark;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zmzncs.lmtc.module.customer.pojo.card_park.CardParkDTO;
import com.zmzncs.lmtc.module.customer.pojo.card_record.CardRecordDTO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;

/**
 * <p>
 * 客户-会员卡关联的停车场 Mapper 接口
 * </p>
 *
 * @author 任建波
 * @since 2020-09-03
 */
@Repository
public interface CardParkDao extends BaseMapper<CardPark> {

    /**获取车辆服务实时状态关联的停车场*/
    IPage<CardParkDTO> getCardParkList(Page page, @Param("cardId") Integer cardId, @Param("keyword") String keyword);

}
